﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="StudentPostings.aspx.cs" Inherits="Admin_StudentPostings" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<div class="menuTitle">Student Postings</div><br />
<asp:Label ID="txtStName" runat="server" Text=""></asp:Label>
    <asp:Label ID="lb_Mess" runat="server" Text=""></asp:Label>
<asp:Panel ID="pn_PostingDetail" runat="server">
    </asp:Panel>  
<asp:GridView ID="grv_Posting" runat="server" AllowPaging="true" AutoGenerateColumns="false">
        <Columns>
            <asp:TemplateField>
                <HeaderTemplate>Posting</HeaderTemplate>
                <ItemTemplate><a href='PostingInfo.aspx?PostingID=<%# Eval("PostingID") %>'><img id="postingImg" class="clsImageLeft" alt="" src='<%# Eval("Url") %>'/></a></ItemTemplate>
            </asp:TemplateField>
            <asp:TemplateField>
                <HeaderTemplate>Posting Name</HeaderTemplate>
                <ItemTemplate><%# Eval("PostingName") %></ItemTemplate>
            </asp:TemplateField>

             <asp:TemplateField>
                <HeaderTemplate>Quotations</HeaderTemplate>
                <ItemTemplate><%# Eval("Quotations")%></ItemTemplate>
            </asp:TemplateField>

             <asp:TemplateField>
                <HeaderTemplate>Competition Name</HeaderTemplate>
                <ItemTemplate><%# Eval("CompetitionName")%></ItemTemplate>
            </asp:TemplateField>

            <asp:TemplateField>
                <HeaderTemplate>Post  Date</HeaderTemplate>
                <ItemTemplate><%# Eval("PostDate")%></ItemTemplate>
            </asp:TemplateField>

            <asp:TemplateField>
                <HeaderTemplate>Details</HeaderTemplate>
                <ItemTemplate><a href='StudentPostings.aspx?PostingID=<%#Eval("PostingID") %>'>Details</a></ItemTemplate>
            </asp:TemplateField>
        </Columns>
    </asp:GridView>

</asp:Content>

